﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class QuienesSomos : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
    {
        string tipo = Session["tipo"].ToString();
        if (Session["tipo"] != null)
        {
            Response.Write(Session["tipo"].ToString());
            if (tipo.Contains("Ad1"))
            {

                Response.Redirect("~/MenuAdmin.aspx");
            }
            else
            {
                if (tipo.Contains("Cl"))
                {

                    Response.Redirect("~/MenuCliente.aspx");
                }
               
            }

        }
    }
}